package com.kjtpay.design_pattern.adapter;

class ForeignCenter {
    private String name;
    private String action;

    public void setName(String name) {
        this.name = name;
    }

    public String getAction() {
        return action;
    }

    public void 进攻() {
        action = "外籍中锋" + name + "进攻";
    }

    public void 防守() {
        action = "外籍中锋" + name + "防守";
    }
}
